home *** CD-ROM | disk | FTP | other *** search
- From: KSIAS@msn.com (Ken Sias)
- Subject: Visual C++ and DLLs
- Date: 1 Feb 96 03:08:31 -0800
- Message-ID: <00001a81+00009795@msn.com>
- Path: news.msn.com!msn.com
- Newsgroups: comp.lang.c++
- Organization: The Microsoft Network (msn.com)
-
- I have a question concerning Visual C++ and DLL....I am using Visual
- C++ 4.0 and I create a new Project Workspace and select Application
- DLL. I create a resource - a dialog and then through the Class
- Wizard create a class. I then build the DLL. Then I create a new
- Project Workspace and select Application - Exe. I then link the DLL
- in the settings link and get an invalid file error - corrupt header.
- Then I link in the .OBJ file. When I do this I get a conflict with
- a resource ID I created in the application. I would like to not have
- to create unique ID for each resource if I want to use a library.
- How is this supposed to be done? Or is it not supposed to be done?
- - the having of resources in a DLL file.
-
- Also how come I am getting the error for invalid?
-
- Ken Sias
- kcsias@msn.com
-